<template>
	<view>
		<swiper class="swiper" circular :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval"
						:duration="duration">
						<swiper-item>
							<img src="../../static/swiper.jpg" alt="" />
						</swiper-item>
						<swiper-item>
							<img src="../../static/swiper.jpg" alt="" />
						</swiper-item>
						<swiper-item>
							<img src="../../static/swiper.jpg" alt="" />
						</swiper-item>
					</swiper>
	</view>
</template>

<script>
	export default {
		name:"Indexswiper",
		data() {
			return {
				            indicatorDots: true,
				            autoplay: true,
				            interval: 2000,
				            duration: 500
			};
		}
	}
</script>

<style>
.swiper {
		height: 300rpx;
	}
	.swiper-item {
		display: block;
		height: 300rpx;
		line-height: 300rpx;
		text-align: center;
		background-color: aquamarine;
		
	}
	img{
		width: 100%;
	}
</style>